using Microsoft.SharePoint.Utilities;

namespace NikCodes.SharePoint.ClientSide
{
    public static class Utilities
    {
        public static string PrefixCode = "SPCS";

        public static bool IsSet(SPPropertyBag props, string key)
        {
            return props.ContainsKey(Utilities.PrefixCode + key) && bool.Parse(props[Utilities.PrefixCode + key]);
        }
    }
}
